Public Function CreateQRY(strChallenge As String, Optional strClientID As String = "PROD0090YUAUV{2B", Optional strClientCode As String = "YMM8C_H7KCQ2S_KL")
'First we need to create 32 bit integers from an MD5 Hash
Dim strMD5 As String, strMD5Ints() As String
strMD5 = MD5_Hex(strChallenge & strClientCode)
strMD5Ints = MD5HexToInt(strMD5)
'Then we repeat the process with almost the same steps, just with two different strings
Dim strCHL As String, strCHLInts() As String
strCHL = strChallenge & strClientID
strCHL = strCHL & String$(8 - (Len(strCHL) Mod 8), "0")
strCHLInts = CHLHexToInt(strCHL)
'Create the XOR key (Hi/Lo) :-)
Dim strXORKey As String, strHigh As String, strLow As String